﻿
Imports osi.root.constants

Namespace constants
    Public Module _constants
        Public Const stream_pump_wait_ms As Int32 = 1
        Public Const last_error_count As Int32 = 30
        Public Const ping_interval_ms As Int64 = 1 * second_milli
        Public Const device_change_check_interval_ms As Int64 = 5 * second_milli
        Public Const respond_one_of_wait_device_ms As Int64 = 128
        Public Const block_herald_secondary_type_name As String = "block"
        Public Const text_herald_secondary_type_name As String = "text"
        Public Const herald_secondary_type_name As String = "herald"
    End Module

    Public Enum action As SByte
        ping = min_int8
    End Enum

    Public Enum response As SByte
        invalid_request = min_int8
        failure
        success
    End Enum

    Public Enum parameter As SByte
        name = min_int8
    End Enum
End Namespace
